<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>


<!DOCTYPE html>
<html>
<script src="http://how2j.cn/study/js/jquery/2.0.0/jquery.min.js"></script>
<link href="http://how2j.cn/study/css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet">
<script src="http://how2j.cn/study/js/bootstrap/3.3.6/bootstrap.min.js"></script>
<head>
    <title>用户登录</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
<style>
div.container div.row div {
    margin:5px 0px;
     
}
 
div.container div.row div {
    background-color: #ffffff;
    border: 1px solid white;
    text-align:center;
}
</style>
</head>
<body>
	<%@include file="/jsp/component/header.jsp"%>
	<div class="container">
    <div class="row">
        <div class="col-xs-7 ">
        	欢迎来到本选课管理系统<br>
			 使用过程中有什么问题可以询问以下邮箱：<br>
		  	1774955790@qq.com<br>
		  	测试账号：<br>
		  	学生：14408134，密码：123456<br>
		  	老师：100001，密码：1000010<br>
		  	管理员：10001，密码：123456mimai<br>
		 </div>
        <div class="col-xs-3 ">
	        <h2>欢迎登陆！</h2>
			<form method="post" action="login">
				<div class="row">
					<div class="col-xs-3">
					<table class="table">
						<tr>
							<td width="79">账号</td>
							<td width="197"><input id="inputLogin" type="text" name="account" />
							</td>
						</tr>
						<tr>
							<td width="79">密码</td>
							<td width="197"><input id="padLogin"type="password" name="password" />
							</td>
						</tr>
						<%	 String account = request.getParameter("account");  
							 String password = request.getParameter("password"); 
							 session.setAttribute("currentPagechange", 1);
							 request.setAttribute("account",account);
							 request.setAttribute("password",password);%>
						<tr>
							<td align="center"><button type="reset" value="重置" class="btn">重置</button></td>
							<td align="center"><button type="submit" value="登录" class="btn">登录</button></td>
						</tr>
					</table>
				</div></div>
			</form>
			<p color="red"><s:property value="#request.warring"/></p>
			<p>请输入您的账号密码登录！</p>
			</div>
    </div>
</div>

<%@include file="/jsp/component/bottombar.jsp"%>
</body>
</html>


